using Microsoft.Practices.CompositeWeb.Interfaces;

namespace WCSFContrib.Extensions.CompositeWeb.Tests.Mocks
{
	public class MockHttpContextLocatorService : IHttpContextLocatorService
	{
		public IHttpContext Context;

		public MockHttpContextLocatorService()
		{

		}

		public MockHttpContextLocatorService(IHttpContext context)
		{
			this.Context = context;
		}

		public IHttpContext GetCurrentContext()
		{
			return Context;
		}
	}
}
